package brushQuestions.designpattern.prototype;

import lombok.Builder;
import lombok.Data;

/**
 * 原型模式类
 *
 * @author: mengfanbing
 * @date: 2020/6/4 11:36
 */
@Builder
@Data
public class ClassPrototype implements Cloneable{
    private Integer id;
    private String desc;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
